Recognition of distribution shapes